package xjtu.se.articlecommunity.user.publisharticle;

import org.springframework.web.multipart.MultipartFile;
import xjtu.se.articlecommunity.user.publisharticle.dto.ImgDto;
import xjtu.se.articlecommunity.user.publisharticle.dto.ImgResultDto;
import xjtu.se.articlecommunity.user.publisharticle.dto.PublishDto;

import java.util.List;

public interface PublishService {
    void publishArticle(PublishDto dto);

    void uploadImg(ImgDto imgDto, ImgResultDto imgResultDto, List<MultipartFile> list, PublishDto publishDto);


    PublishDto getPublishedArticle(String a_id);

    void rePublishArticle(PublishDto dto);
}
